package cn.lutu.dao.mapper;

import cn.lutu.protocol.entity.Spot;
import cn.lutu.protocol.vo.SpotVO;
import cn.lutu.protocol.vo.VoteVO;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface SpotMapper extends BaseMapper<Spot> {

    List<SpotVO> selectSpotList();

    SpotVO selectSpotListById(Long id);

    List<VoteVO> selectVoteById(Long id);

    List<SpotVO> selectAllList();

    List<SpotVO> selectIndex();
}
